package com.example.demo.lua;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@RestController
@RequestMapping("/lua")
@Slf4j
public class LuaController {

    @Autowired
    private LuaScriptService luaScriptService;

    @RequestMapping(value = {"/get", "alogin"})
    public Integer get(HttpServletRequest request, HttpServletResponse response){
//        Integer i = luaScriptService.executeLuaScriptFromString();
        return 1;

    }
}